package com.circle.shareus.server.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wp
 * @since 2019-10-19
 */
@RestController
@RequestMapping("/dept")
@Slf4j
@Api(tags = "test")
public class DeptController {

    @PostMapping("healthCheck")
    @ApiOperation(value = "健康测试",notes = "测试项目健康状况",produces = "application/json")
    public void health(HttpServletRequest request,String healthCode){
        log.info("service is health , --- {}",healthCode);
    }

}

